<?php
use think\facade\Route;

//图库路由
Route::group('gallery', function () {
    Route::get('/index', '\addons\Gallery\driver\Gallery@index');
    Route::get('/open', '\addons\Gallery\driver\Gallery@open');
    Route::get('/getQnToken', '\addons\Gallery\driver\Gallery@getQnToken');
    Route::post('/addImage', '\addons\Gallery\driver\Gallery@addImage');
    Route::post('/upload', '\addons\Gallery\driver\Gallery@upload');
    Route::post('/addGroup', '\addons\Gallery\driver\Gallery@addGroup');
    Route::post('/destroy', '\addons\Gallery\driver\Gallery@destroy');
    Route::post('/destroyGroup', '\addons\Gallery\driver\Gallery@destroyGroup');
    Route::post('/saveGroup', '\addons\Gallery\driver\Gallery@saveGroup');
})->ext('html');
